﻿using Microsoft.EntityFrameworkCore;
using MyBookStore.Domain;
using Volo.Abp.Data;
using Volo.Abp.EntityFrameworkCore;

namespace MyBookStore.EntityFrameworkCore
{
    [ConnectionStringName("Default")]
    public class MyBookStoreDbContext : AbpDbContext<MyBookStoreDbContext>
    {
        public DbSet<Users> Users { get; set; }
        public MyBookStoreDbContext(DbContextOptions<MyBookStoreDbContext> options) : base(options)
        {
        }

        protected override void OnModelCreating(ModelBuilder modelBuilder)
        {
            base.OnModelCreating(modelBuilder);
        }
    }
}
